package com.mark.mall.admin.platform.dto.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author admin
 * Created on 2021/3/2 15:18
 */
@Data
@ApiModel("后台会员添加")
public class MemberAddParam {
    @ApiModelProperty(value = "会员名称")
    @NotEmpty(message = "会员名称不能为空！")
    private String name;

    @ApiModelProperty(value = "会员密码")
    @NotEmpty(message = "会员密码不能为空！")
    private String password;

    @ApiModelProperty(value = "会员真实姓名")
    private String realname;

    @ApiModelProperty(value = "会员手机号")
    @NotEmpty(message = "会员手机号不能为空！")
    private String mobile;

    @ApiModelProperty(value = "会员邮箱")
    private String mail;

}
